package net.cl.db;

/**
 * 数据库中表的属性
 * 
 * @author caol
 */
public class TableProperties {

	private String tableName;
	private String schemaName;
	private int columnCount;
	private ColumnProperties[] columns;
	private boolean dateFlag = false;

	public TableProperties(int columnCount) {
		this.columnCount = columnCount;
	}

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public String getSchemaName() {
		return schemaName;
	}

	public void setSchemaName(String schemaName) {
		this.schemaName = schemaName;
	}

	public boolean getDateFlag() {
		return dateFlag;
	}

	public void setDateFlag(boolean dateFlag) {
		this.dateFlag = dateFlag;
	}

	public int getColumnCount() {
		return columnCount;
	}

	public void setColumns(ColumnProperties[] columns) {
		this.columns = columns;
	}

	public ColumnProperties[] getColumns() {
		return columns;
	}

}
